//
//  DataBaseHelper.h
//  qiuShiJiangHu
//
//  Created by xalo on 16/1/27.
//  Copyright © 2016年 糗事江湖项目组. All rights reserved.
//

#import <Foundation/Foundation.h>
@class HomePageModel;
@interface DataBaseHelper : NSObject



+(DataBaseHelper *)sharedManager;

- (BOOL)insertToSqlitWithMode:(HomePageModel *)model ID:(NSInteger)ID;

- (BOOL)deleteWithID:(NSInteger)ID;

- (BOOL)deleteAll;

- (HomePageModel *)selectWithID:(NSInteger)ID;


- (NSMutableArray *)selectAll;

+ (BOOL)isCollectionHomePageModel:(HomePageModel *)model;


@end
